package com.base.cn.platform.os.entity.statistics.pvuv;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.common.mybatis.SqlExclude;
import lombok.Data;

import java.util.Date;

/**
 * PV数据统计
 *
 * @author s.li
 * @date 2019/04/17
 */
@Data
public class ZStatisticsPageViewCount extends BaseEntity {
    /**访问时间*/
    private Date requestTime;
    /**小程序访问量*/
    private Integer appletCount;
    /**PC访问量*/
    private Integer pcCount;
    /**IOS访问量*/
    private Integer iosCount;
    /**安卓访问量*/
    private Integer anCount;
    /**H5访问量*/
    private Integer mobileCount;

    /**PV总量*/
    @SqlExclude
    private Integer pvCount;

    public Integer getAppletCount() {
        return appletCount==null?0 : appletCount;
    }

    public Integer getPcCount() {
        return pcCount == null ?0:pcCount;
    }

    public Integer getIosCount() {
        return iosCount == null ?0:iosCount;
    }

    public Integer getAnCount() {
        return anCount == null ?0:anCount;
    }

    public Integer getMobileCount() {
        return mobileCount ==null ?0:mobileCount;
    }

    public Integer getPvCount() {
        return pvCount==null ? 0 : pvCount;
    }
}
